package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;
import com.aijk.ehm.model.SemBp;
import com.aijk.ehm.model.qo.SemBpQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 检测指标_血压
 */
public interface SemBpApi {
    Long save(SemBp bean) throws ErrorCodeException;

    void update(SemBp bean) throws ErrorCodeException;

    SemBp findOne(Long id) throws ErrorCodeException;

    List<SemBp> list(SemBpQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(SemBpQo qo);

    PageInfo<SemBp> page(SemBpQo qo);
}